<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>



<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en">
<!--<![endif]-->
<head>
<meta charset="utf-8" />
<title>Color Admin | Page with Footer</title>
<meta
	content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
	name="viewport" />
<meta content="" name="description" />
<meta content="" name="author" />

<!-- ================== BEGIN BASE CSS STYLE ================== -->
<%@ include file="../include/inc_head.jsp"%>
<!-- ================== END BASE CSS STYLE ================== -->

<!-- ================== BEGIN BASE JS ================== -->
<link href="/assets/plugins/DataTables/media/css/dataTables.bootstrap.min.css" rel="stylesheet" />
<link href="/assets/plugins/DataTables/extensions/Responsive/css/responsive.bootstrap.min.css" rel="stylesheet" />
<script src="/assets/plugins/pace/pace.min.js"></script>
<!-- ================== END BASE JS ================== -->
</head>
<body>
	<!-- begin #page-loader -->
	<div id="page-loader" class="fade in">
		<span class="spinner"></span>
	</div>
	<!-- end #page-loader -->

	<!-- begin #page-container -->
	<div id="page-container"
		class="fade page-sidebar-fixed page-header-fixed">
		<!-- begin #header -->
		<%@ include file="../include/inc_header.jsp"%>
		<!-- end #header -->

		<!-- begin #sidebar -->
		<%@ include file="../include/inc_left.jsp"%>
		<!-- end #sidebar -->

		<!-- begin #content -->
		<div id="content" class="content">
			<!-- begin breadcrumb -->
			<ol class="breadcrumb pull-right">
				<li><a href="javascript:;">首页</a></li>
				<li class="active">采购管理</li>
			</ol>
			<!-- end breadcrumb -->
			<!-- begin page-header -->
			<h1 class="page-header">采购管理</h1>
			<!-- end page-header -->

			<div class="panel panel-inverse">
				<div class="panel-heading">

					<h4 class="panel-title">采购列表 </h4>
				</div>
				<div class="panel-body">
					<a href="#modal-dialog" class="btn btn-sm btn-success" data-toggle="modal">弹出修改窗口</a>
				</div>
			</div>

		</div>
		<!-- end #content -->
	<div class="modal fade" id="modal-dialog">
		<form class="form-horizontal" id="formModal" action="" method="post">
			<input type="hidden" name="id"/>
			<div class="modal-dialog">
				<div class="modal-content">
					<div class="modal-header">
						<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
						<h4 class="modal-title">添加解析记录</h4>
					</div>
					
					<div class="modal-body">
                                <div class="form-group">
                                    <label class="col-md-4 control-label">主机记录</label>
                                    <div class="col-md-6">
                                        <input type="text" class="form-control" name="rrName" placeholder="主机记录" />
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-md-4 control-label">记录类型</label>
                                    <div class="col-md-6">
                                        <select class="form-control" name="type" id="type">
                                            <option value="A">A</option>
                                            <option value="CNAME">CNAME</option>
                                            <option value="MX">MX</option>
                                            <option value="TXT">TXT</option>
                                            <option value="AAAA">AAAA</option>
                                            <option value="NS">NS</option>
                                            <option value="SRV">SRV</option>
                                            <option value="url1">显性URL转发</option>
                                            <option value="url2">隐性URL转发</option>
                                        </select>
                                    </div>
                                </div>
                               <div class="form-group">
                                    <label class="col-md-4 control-label">线路类型</label>
                                    <div class="col-md-6">
                                        <select class="form-control" name="line" id="line">
                                            <option value="0">默认</option>
                                            <option value="1">电信</option>
                                            <option value="2">联通</option>
                                            <option value="3">移动</option>
                                            <option value="4">铁通</option>
                                            <option value="5">教育网</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-md-4 control-label">记录值</label>
                                    <div class="col-md-6">
                                        <input type="text" class="form-control" name="rrdata" placeholder="记录值，例如127.0.0.1" />
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-md-4 control-label">MX优先级</label>
                                    <div class="col-md-6">
                                        <input type="text" class="form-control" name="mxPriority" id="mx" disabled="disabled" name="mx" placeholder="MX优先级,10-100的数字" />
                                    </div>
                                </div>
								<div class="form-group">
                                    <label class="col-md-4 control-label">TTL值</label>
                                    <div class="col-md-6">
                                        <input type="text" class="form-control" name="ttl" placeholder="TTL值，最小600" />
                                    </div>
                                </div>
					</div>
					<div class="modal-footer">
						<a href="javascript:;" class="btn btn-sm btn-white" data-dismiss="modal">关闭</a>
						<button type="submit" class="btn btn-sm btn-success">提交</button>
					</div>
				</div>
			</div>
			 </form>
		</div>
		<%@ include file="../include/inc_footer.jsp"%>
		<!-- begin scroll to top btn -->
		<a href="javascript:;"
			class="btn btn-icon btn-circle btn-success btn-scroll-to-top fade"
			data-click="scroll-top"><i class="fa fa-angle-up"></i></a>
		<!-- end scroll to top btn -->
	</div>
	<!-- end page container -->

	<!-- ================== BEGIN BASE JS ================== -->
	<%@ include file="../include/inc_foot.jsp"%>

	<!-- ================== END BASE JS ================== -->

	<!-- ================== BEGIN PAGE LEVEL JS ================== -->
	<script src="/assets/js/apps.min.js"></script>
	<!-- ================== END PAGE LEVEL JS ================== -->

	<script>
		$(document).ready(function() {
			App.init();
		});
	</script>

</body>
</html>


